<div style="margin:20px 10px">
  <% form_remote_for :area, :url => area_url(@area.id), :html => {:method => 'put'} do |f| -%>
    <table border="0" cellspacing="10" cellpadding="10">
      <tr>
        <td><label for="area_title">地区名称：</label></td>
        <td><%= f.text_field :title, :size => 10 %></td>
      </tr>
      <tr>
        <td><label for="area_zipcode">邮政编码：</label></td>
        <td><%= f.text_field :zipcode, :size => 10 %></td>
      </tr>
    </table>
    <div style="text-align:center" id="submit-btn"><%= submit_tag "修改", :onclick => "this.disabled=true;this.value='正在提交修改 ...';" %> 或 <%= link_to "取消", "javascript:void(0)", :onclick => "tb_remove()" %></div>
  <% end -%>
</div>
